<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>Document</title>
</head>
<style>
	[v-cloak] {
		display: none;
	}
</style>

<body>
	<div id="app" v-cloak>
		<div v-if="score=='100'">优秀</div>
		<div v-else-if="score>'80'">良好</div>
		<div v-else-if="score>'60'">一般</div>
		<div v-else="score>'0'">不及格</div>
	</div>
</body>
<script src="../js/http_cdn.bootcdn.net_ajax_libs_vue_2.6.6_vue.js"></script>
<script>
	new Vue({
		el: '#app',
		data: {
			score: 81
		}
	})
</script>

</html>
